// ISocket.cpp: implementation of the ISocket class.
//
//////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include <winsock2.h>
#include <mswsock.h>
#include "log4cplus_switch.h"
#include <common/Pool.h>
#include "ISocket.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
LOG4CPLUS_CLASS_IMPLEMENT( ISocket, _s_logger, "ISocket" );

ISocket::ISocket()
{
    LOG4CPLUS_INFO( _s_logger, "Construct" );
    m_SocketState = SOCKET_STATE_IDLE;
	m_SocketHandle = INVALID_SOCKET;
	m_SocketType = SOCKET_TYPE_NULL;
	m_IsDeleteByEngine = FALSE;
}

ISocket::~ISocket()
{
    LOG4CPLUS_INFO( _s_logger, "Deconstruct" );

}
